<template>
  <div>
    <div>
      <h2>计算题</h2>
    </div>
    <!-- main -->

    <Success :list="list"></Success>
    <!-- main E -->
    <!-- footer  -->
    <Failure></Failure>
    <!-- footer E -->
  </div>
</template>

<script>
import Success from "./components/success.vue";
import Failure from "./components/failue.vue";
export default {
  components: {
    Success,
    Failure,
  },
  mounted() {
    this.list = Array(5)
      .fill("")
      .map((item, index) => {
        num1: Math.floor(Math.random() * 10);
        num2: Math.floor(Math.random() * 10);
        starus: 0;
        id: index;
      });
  },
  data() {
    return {
      list: [],
    };
  },
  methods: {},
};
</script>

<style>
</style>